package com.gaomall.seckill;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication

//需要使用 @MapperScan 注解来指定 Mapper 接口的路径
//PS： 注意这里的 @MapperScan 注解是 tk.mybatis.spring.annotation.MapperScan; 包下的
@MapperScan("com.gaomall.seckill.mapper")
public class GaomallSeckillApplication {
    public static void main(String[] args) {
        SpringApplication.run(GaomallSeckillApplication.class, args);


    }
}